package tk.mybatis.mapper.common.example.oper;

import java.util.Map;

import org.springframework.util.Assert;

/**
 * 
 * title: DecreaseOper.java 
 * 减
 *
 * @author rplees
 * @email rplees.i.ly@gmail.com
 * @version 1.0  
 * @created Jul 6, 2016 9:50:13 AM
 */
public class DecreaseOper extends Oper {
	public DecreaseOper(String property, Number number, Map<String, String> propertyMap) {
		Assert.isTrue(number.doubleValue() >= 0, "number must be gt or equals 0.");
		commonParser(property, number, propertyMap, "-");
	}
}
